﻿<Window x:Class="TestApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <Menu Height="21">
            <MenuItem Command="Undo"></MenuItem>
        </Menu>
        
        <ToolBarTray Grid.Row="1">
                  <ToolBar >
            <Button Name="UndoButton" Command="Undo">Undo</Button>
            <Button Click="Button_Click">New</Button>
        </ToolBar>  
        </ToolBarTray>

         
        <TextBox Grid.Row="2" />
        
        <StatusBar Grid.Row="3" >
            <StatusBarItem Name="Item"/>

        </StatusBar>
    </Grid>
</Window>
